﻿<?php
/**
 * @copyright	Copyright (C) 2005 - 2010 Barrie North.
 * @license		GPL
 */
defined('_JEXEC') or die;
$app = JFactory::getApplication();
require_once('content.php');

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/typo.css" type="text/css" />
</head>  
<body> 
        <!-- BEGIN: HEADER -->
        <div id="adc-header">
		<div id="header-main">
        	<div id="logo">
            <a href="index.php" title="">
                <img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/logo.jpg" />
            </a>
            </div>
            
            <?php if ( $this->countModules('banner-top1')) { ?>
                <div id="banner-top1">
                    <jdoc:include type="modules" name="banner-top1" style="raw" />
                </div>
            <?php } ?>
            <?php if ( $this->countModules('banner-top2')) { ?>
                <div id="banner-top2">
                    <jdoc:include type="modules" name="banner-top2" style="raw" />
                </div>
            <?php } ?>
            
        <!-- BEGIN: MAIN NAVIGATION -->    
        </div>
        <div id="adc-mainnavwrap">
            <div id="adc-mainnav" class="clearfix">
             <jdoc:include type="modules" name="mainmenu" style="raw" />
            </div>
        </div>
        <!-- END: MAIN NAVIGATION -->
        </div>
        <!-- END: HEADER -->  

		<!-- Slideshow -->
        <!-- End Slideshow -->

    <div id="adc-wrapper">          

		<!-- BEGIN: CPANEL -->
        <!-- END: CPANEL -->

        <!-- Content -->
        <div id="adc-content">
          <?php if($this->countModules('left')) : ?>
          <div id="adc-left">
              <jdoc:include type="modules" name="left" style="rounded" />
          </div>
          <?php endif; ?>
		  <div id="adc-right-right">
          <div id="content">
    
                <div id="adc-mainbodywrap<?php echo $bgcontent;?>">
                    <div id="adc-mainbody<?php echo $bgcontent;?>">
                        <div id="adc-contentwrapper<?php echo $bgcontent;?>">
                            <jdoc:include type="message" />
                            <div id="adc-contentwrap<?php echo $bgcontent;?>">
                            <jdoc:include type="component" />
                            </div>
                        </div>
                    </div>
                </div>
    
          </div>
          <?php if($this->countModules('right')) : ?>
          <div id="adc-right">
              <jdoc:include type="modules" name="right" style="rounded" />
          </div>
          <?php endif; ?>
		  </div>
        </div>
        <!-- end content -->
    
        </div>

    <!-- Footer -->
    <div id="adc-footer" class="clearfix">
		<?php if ( $this->countModules('footer') ) { ?>
            <div id="footer" >
                <jdoc:include type="modules" name="footer" style="xhtml" />
            </div>
        <?php } ?>
		<div id="copyright">Copyright &copy; 2011 Bản quyền thuộc về Công Ty TNHH ... Việt Nam - Thiết kế web bởi
			<a target="_blank" href="http://www.thietkeachau.vn">Thiết Kế Á Châu</a>
		</div>
    </div>
    <!-- End Footer -->
</body>
</html>
